<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: vote_answer.php 1219 2010-03-29 13:00:09Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/vote_answer.php $
*/


class VoteAnswer extends GeneralModel {

/******************************************************************************/

var $name = 'VoteAnswer';

var $belongsTo = array(
	'VoteQuestion' => array('isRubric' => TRUE)
);

var $displayField = 'caption';

var $order = array(
	'VoteAnswer.position' => 'ASC',
	'VoteAnswer.id' => 'ASC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

var $fieldInputSchema = array(
	'points' => array('disabled' => TRUE)
);

/******************************************************************************/

}


?>